xen/arm: Move SYSREG accessors in sysregs.h
authorJulien Grall <julien.grall@arm.com>
Wed, 31 Oct 2018 18:13:02 +0000 (18:13 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 9 Nov 2018 18:14:32 +0000 (10:14 -0800)
commiteca541998661ae698471a74881e7068e2ee36046
tree95baf5acd36a8d50f70f22bb6e9fb63c96d17920
parent553de072d2750a4c60ad5b4d8acb13af2bf47b98
xen/arm: Move SYSREG accessors in sysregs.h

System registers accessors are self-contained and should not be included
everywhere in Xen. Move the accessors in sysregs.h and include the file
when necessary.

With that change, it is not necessary to include processor.h in time.h.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
12 files changed:
xen/arch/arm/arm32/entry.S
xen/arch/arm/arm32/proc-v7.S
xen/arch/arm/gic-v3-lpi.c
xen/arch/arm/gic-v3.c
xen/include/asm-arm/arm32/processor.h
xen/include/asm-arm/arm32/sysregs.h [new file with mode: 0644]
xen/include/asm-arm/arm64/processor.h
xen/include/asm-arm/arm64/sysregs.h
xen/include/asm-arm/page.h
xen/include/asm-arm/percpu.h
xen/include/asm-arm/sysregs.h [new file with mode: 0644]
xen/include/asm-arm/time.h